-- GENERATED SPELL FOR [Seething Revenant] --


function spell0_30387(pUnit, Event) --@Seething Flames,Self--
pUnit:FullCastSpellOnTarget(56620,pUnit)
pUnit:RegisterEvent('Sorts_30387', 3000, 1)
end

function Sorts_30387(pUnit, Event)
local choix_sorts_30387 = math.random(0, 0)
if choix_sorts_30387 == 0 then
pUnit:RegisterEvent('spell0_30387', 1, 1)
end
end

function mob30387_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30387', math.random(1500, 3000), 1)
end

function mob30387_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30387_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30387_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30387, 1, 'mob30387_Action')
RegisterUnitEvent(30387, 2, 'mob30387_Leave')
RegisterUnitEvent(30387, 3, 'mob30387_Kill')
RegisterUnitEvent(30387, 4, 'mob30387_Die')
